package com.sxmsy.factory2;

import com.sxmsy.factory2.bike.BikeFactory;
import com.sxmsy.factory2.car.CarFactory;

public class Test {

  public static void main(String[] args) {
    IFactory payFactory = new BikeFactory();
    payFactory.createProduct().build();

    IFactory payFactory2 = new CarFactory();
    payFactory2.createProduct().build();
  }
}
